package com.carrental.api.company.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author LiangYi
 * @since 2022/8/6 17:59
 */
@ApiModel(description = "公司信息钉钉响应体")
@Data
public class CompanyInfo {
    @ApiModelProperty("商企名称")
    @ExcelProperty("商企名称")
    private String companyName;
    private String companyNameWithSummary;
    @ApiModelProperty("经营状态")
    @ExcelProperty("经营状态")
    private String bizStatus;
    @ApiModelProperty("法人名称")
    @ExcelProperty("法人")
    private String legalPerson;
    private Date registerDate;
    private String address;
    private String ocid;
    private double lon;
    private double lat;
    private String registerCapital;
    private String logo;
    private String staffSize;
    private List<String> tags;
    private boolean bAddMonitor;
    private boolean bFavorite;
    private String bTraced;
    private String industry;
    private String industryLevel1;
    private String industryLevel2;
    private String phone;
    private String email;
    private String garden;
    private String brands;
    private String officialSite;
    private String finDate;
    private String finType;
    private String finAmount;
    private String investor;
    private int flushTime;
    private String taxNum;
    private String socialCreditCode;
    private boolean hitSummary;
    private String summaryFieldName;
    private String summaryFieldValue;
    private String identityId;
    private String latestBiddingItem;
    private String biddingCnt;
    private String parkId;
    private String maxConnectionTelephone;
    private String totalTelephoneNum;

    @ApiModelProperty("联系方式列表")
    private List<TelephoneData> telephoneDetailLists;

    @ExcelProperty("联系方式")
    private String phones;
    private String entBrief;
    private String emailList;
    private String officialSiteList;
    private String isMobilephone;
    private String regCity;
    private String regProvince;
    private String regArea;
    private String opScope;
    private boolean isStrictDingOrg;
    private String companyPhoneInfo;

    @Data
    public static class TelephoneData {
        @ApiModelProperty("手机号")
        private String telephone;
        private String connectRate;
        private String sameTelephoneCrops;
        private String sameTelephoneCropsOcid;
        private String specialTags;
        private String telephoneSource;
    }
}
